package com.nmsl.registration.mapper;

import java.util.List;
import com.nmsl.registration.domain.skxMedicalRecord;

/**
 * 病历信息Mapper接口
 * 
 * @author skx
 * @date 2025-02-24
 */
public interface skxMedicalRecordMapper 
{
    /**
     * 查询病历信息
     * 
     * @param medicalRecordId 病历信息主键
     * @return 病历信息
     */
    public skxMedicalRecord selectskxMedicalRecordByMedicalRecordId(Long visitRecordId);

    /**
     * 查询病历信息列表
     * 
     * @param skxMedicalRecord 病历信息
     * @return 病历信息集合
     */
    public List<skxMedicalRecord> selectskxMedicalRecordList(skxMedicalRecord skxMedicalRecord);

    /**
     * 新增病历信息
     * 
     * @param skxMedicalRecord 病历信息
     * @return 结果
     */
    public int insertskxMedicalRecord(skxMedicalRecord skxMedicalRecord);

    /**
     * 修改病历信息
     * 
     * @param skxMedicalRecord 病历信息
     * @return 结果
     */
    public int updateskxMedicalRecord(skxMedicalRecord skxMedicalRecord);

    /**
     * 删除病历信息
     * 
     * @param medicalRecordId 病历信息主键
     * @return 结果
     */
    public int deleteskxMedicalRecordByMedicalRecordId(Long medicalRecordId);

    /**
     * 批量删除病历信息
     * 
     * @param medicalRecordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteskxMedicalRecordByMedicalRecordIds(Long[] medicalRecordIds);
}
